package GameLogic;

class EnemyDummy extends EntityEnemy
{

	EnemyDummy()
	{
		movementVelocity = 1;
		collisionRadius = 10;
		model = new EntityModel();
		
		 model.frames=1;                            //model does not have any frames
	        model.texture_coordinates=new float[] {0.0f, 0.0f,      //quad vertices; NOTICE: if you start with 0 as bottom left vertex
	                                     0.0f, 1.0f,       // it will spin around this vertex (rotate is performed on 0,0)
	                                     1.0f, 1.0f,
	                                     1.0f, 0.0f};
	        model.texture_path="src/test/demo_tex";           //nor texture
	        model.vertex_colour = new float[] {0.0f, 0.0f, 0.0f, 1.0f,  //RGBA, each vertex of quad
	                                        0.0f, 0.0f, 0.0f, 1.0f,
	                                        0.0f, 0.0f, 0.0f, 1.0f,
	                                        0.0f, 0.0f, 0.0f, 1.0f};
	         model.vertices = new float[] {-0.125f, -0.125f,      //quad vertices; NOTICE: if you start with 0 as bottom left vertex
	                                     0.125f, -0.125f,       // it will spin around this vertex (rotate is performed on 0,0)
	                                     0.125f, 0.125f,
	                                     -0.125f, 0.125f};
	}
	
	public void tick()
	{
		timeExisted++;
		updateMovementByPath();
	}
	
	public void attack()
	{	
	}
	
	public boolean detect()
	{
		return false;
	}
	
	public void updateMovementByPath()
	{
		eCoord.posX -= movementVelocity; //function is - since it scrolls from right to left, decreasing x!
	}
}